JOYSTICK FIRE X

This command will give support to read up to 32 fire buttons.

  Syntax
Return Integer=JOYSTICK FIRE X(Button Number)
  Parameters
Button Number
Integer
The button number to check

  Returns

A one, if the button is pressed,otherwise zero is returned

  Example Code
do
cls
print "joystick fire a "+str$(joystick fire a())
print "joystick fire b "+str$(joystick fire b())
print "joystick fire c "+str$(joystick fire c())
print "joystick fire d "+str$(joystick fire d())
print "joystick fire x "+str$(joystick fire x(0))
loop
end
  See also

INPUT Commands Menu
Index